*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    
}

/* Apply to the whole page */
body {
  cursor: url('Images/Fish cursor.png'), auto;
  background-color: black;
  background-image: url(./Images/BG/Black.jpg);
  background-attachment: fixed;
  min-height: 100vh;
  overflow-x: hidden;
}

.container{
    padding: 2rem;
}

.slide-wrapper{
    position: relative;
    max-width: 48rem;
    margin: auto;

}
.slide{
    display: flex;
    aspect-ratio: 16/9 ;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    box-shadow: 0 1.5rem 3rem -0.75rem hsla(0, 0%, 0%, 0.25);
    animation: fadeIn 1s ease-in forwards;
}


.slide img{
    flex: 1 0 100%;
    scroll-snap-align: start;
    object-fit: cover;
}

.slide-nav{
    display: flex;
    column-gap: 1rem;
    position: absolute;
    bottom: 1.25rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
}

.slide-nav a{
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    background-color: #fff;
    opacity: 0.75;
    transition: opacity ease 250ms;
}

.slide-nav a:hover{
    opacity: 1;

}
.hero{
    width: 100%;
    height: 15vh;
    position: relative;
    padding: 0 5%;
    display: flex;
    align-items: center;
    justify-content: center;
    
}

nav{
    width:100%;
    position: absolute;
    top: 0;
    left: 0;
    padding: 20px 8%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: url('Images/cat cursor.png'), pointer;
    

}


nav .logo{
    max-width: 80px;
    width: 100%;
    cursor: url('Images/cat cursor.png'), pointer;
}

nav ul li{
    list-style: none;
    display: inline-block;
    margin-left: 40px;
    font-family: AlteHaasGroteskRegular; 
}

nav ul li a{
    text-decoration: none;
    color: #fff;
    font-size: 17px;
    
}

.content{
    text-align: center;
    display: inline-block;
    flex-direction: column;
    align-items: center;
}


.carousel {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory; /* Force snapping horizontally */
  scroll-behavior: smooth;
  gap: 10px;
  -webkit-overflow-scrolling: touch; /* Smooth scrolling on iOS */
}

.carousel::-webkit-scrollbar {
  display: none; /* Optional: Hide scrollbar */
}

.slide {
  flex: 0 0 100%; /* Each slide takes up 100% width */
  scroll-snap-align: center; /* Center the slide when snapping */
}

.slide img {
  width: 100%;
  height: 400px;
  object-fit: cover; /* Keeps image aspect ratio */
  border-radius: 8px;
}


.title-h1 {
    margin-top: 0px;
    font-size: 60px;
    font-family: AlteHaasGroteskBold; 
    color: #fff;
    font-weight: 100;
    white-space: nowrap;
    text-align: center;
    overflow: hidden; /* Ensures text is hidden until typed */
    border-right: 0.1em solid rgb(255, 255, 255); /* The cursor */
    white-space: nowrap; /* Keeps text on a single line */ 
    margin: 0 auto;
    width: fit-content;
    animation: 
    typing 1.2s steps(22, end),
    blink-caret 1.2s step-end infinite;

}

@keyframes typing {
    from {
        width: 0%;
    }

    to {
        width: 35%;
    }
}

@keyframes blink-caret {
  from, to { border-color: transparent }
  50% { border-color: rgb(255, 255, 255); }
}

.content-h2 {
    font-size: 20px;
    font-family: AlteHaasGroteskBold; 
    color: #fff;
    font-weight: 100;
    padding-top: 20px;

}

@keyframes fadeUpIn {
  from {
    opacity: 0;
    transform: translateY(20px); /* Start 20px below */
  }
  to {
    opacity: 1;
    transform: translateY(0);    /* End at original position */
  }
}

.fade-up {
  animation: fadeUpIn 0.8s ease-out forwards;
}

.subtitle-h4{
    font-size: 15px;
    font-family: AlteHaasGroteskRegular; 
    color: #fff;
    font-weight: 20;
    text-align: center;
    margin-bottom: 0;

}

.paragraph {
    font-size: 20px;
    font-family: AlteHaasGroteskRegular;
    color: #fff;
    text-align: center; /* CHANGE from justify */
    
    max-width: 800px;
    margin: 60px auto 0;
    padding: 0 20px;

    animation: fadeIn 1s ease-in forwards;
}

.description {
    font-size: 15px;
    font-family: AlteHaasGroteskRegular; 
    color: #fff;
    text-align: center;

    padding: 20px clamp(20px, 12vw, 220px);
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.content a{
    text-decoration: none;
    font-family: AppleGaramondItalic; 
    display: inline-block;
    color: #fff;
    font-size: 24px;
    border: 2px solid #fff;
    padding: 14px 70px;
    border-radius: 50px;
    margin-top: 20px;
    cursor: url('Images/cat cursor.png'), pointer;
    transition-duration: 0.3s;
    transition-timing-function: ease-in-out;
}

.content a:hover {
    transform: scale(1.15); 
    text-decoration: none;
    font-family: AppleGaramondItalic; 
    display: inline-block;
    color: #fff;
    font-size: 24px;
    border: 2px solid #fff;
    padding: 14px 70px;
    border-radius: 50px;
    margin-top: 20px;
    cursor: url('Images/cat cursor.png'), pointer;
}
/* FOUNDERS WRAPPER */
.image-container {
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 60px 20px;
}

/* INNER GRID */
.flex-container {
    width: 100%;
    max-width: 1000px;
    display: flex;
    justify-content: center;
    gap: 60px;
    align-items: flex-start;
    margin: 0 auto;
}

/* EACH PERSON CARD */
.column {
    flex: 1;
    max-width: 380px;
    text-align: center;
}

/* IMAGE FIX */
.column img {
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

@media (max-width: 768px) {

    .image-container {
        padding: 40px 15px;
    }

    .flex-container {
        flex-direction: column;
        align-items: center;
    }

    .column {
        max-width: 90%;
    }

    .column img {
        width: 100%;
    }

}

@media (min-aspect-ratio: 16/9){
    .back-video{
        width: 100%;
        height: auto;
    }
}

@media (max-aspect-ratio: 16/9){
    .back-video{
        width: auto;
        height: 100%;
    }
}

footer {
  text-align: center;
  padding: 20px;
  background-color: #000000;
  font-size: 14px;
  font-family: AlteHaasGroteskRegular;
  color:#fff
}

@media (max-width: 768px) {

    .paragraph {
        font-size: 14px;
        padding: 40px 15px 0;
    }

    .description {
        font-size: 13px;
        padding: 15px;
    }

    .title-h1 {
        font-size: 28px;
        white-space: normal; /* IMPORTANT */
    }



}